package cn.reinforce.util.express.model.sf;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 幻幻Fate
 * @date 2023/2/15
 */
@Data
public class SFOrder {

    public static final int DEAL_TYPE_CONFIRM = 1;

    public static final int DEAL_TYPE_CANCEL = 2;

    private String language = "zh-CN";

    private String orderId;

    /**
     * 客户订单操作标识: 1:确认 (丰桥下订单接口默认自动确认，不需客户重复确认，该操作用在其它非自动确认的场景) 2:取消
     */
    private Integer dealType;

    private List<SFWaybillNoInfo> waybillNoInfoList;

    private SFCustomsInfo customsInfo;

    private List<SFCargoDetail> cargoDetails;

    /**
     * 拖寄物类型描述,如： 文件，电子产品，衣服等
     */
    private String cargoDesc;

    private String monthlyCard;

    private List<SFContactInfo> contactInfoList;

    private Integer payMethod = 1;

    private Integer parcelQty = 1;

    /**
     * 快件自取，支持以下值： 1：客户同意快件自取 0：客户不同意快件自取
     */
    private Integer isOneselfPickup = 0;

    private Integer expressTypeId = 2;

    /**
     * 是否返回路由标签： 默认1， 1：返回路由标签， 0：不返回；除部分特殊用户外，其余用户都默认返回
     */
    private Integer isReturnRoutelabel = 1;

    private Double totalWeight;

    private List<SFExtraInfo> extraInfoList = new ArrayList<>();
}
